﻿using System;
using System.ServiceModel;

namespace OCXS.OCXSServiceLibrary.OPCXMLDA10 {

    [MessageContract(
        WrapperName = "GetStatusResponse", 
        WrapperNamespace = "http://opcfoundation.org/webservices/XMLDA/1.0/", 
        IsWrapped = true)]
    public class GetStatusResponse {

        [MessageBodyMember(Name = "GetStatusResult", Order = 0)]
        public OCXS.OCXSServiceLibrary.OPCXMLDA10.ReplyBase GetStatusResult;

        [MessageBodyMember(Name = "Status", Order = 1)]
        public OCXS.OCXSServiceLibrary.OPCXMLDA10.ServerStatus Status;

        public GetStatusResponse() {
        }

        public GetStatusResponse(OCXS.OCXSServiceLibrary.OPCXMLDA10.ReplyBase GetStatusResult, OCXS.OCXSServiceLibrary.OPCXMLDA10.ServerStatus Status) {
            this.GetStatusResult = GetStatusResult;
            this.Status = Status;
        }
    }
}
